body{
  min-height: 100vh;
  background-color: #ffd11b;
  padding: .19rem .15rem;
}
/* 头部导航 */
.top-nav{
  width: 7.2rem;
  height: .71rem;
  border: 2px solid #fff;
  border-radius: .16rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.top-nav>div{
  flex: 1;
  font-size: .28rem;
  color: #fff;
  text-align: center;
  height: .42rem;
  line-height: .42rem;
  border-right: 2px solid #fff;
}

.top-nav>div:last-child{
  border-right: none;
}

.top-nav>div.active{
  color: #ff7815;
}

/* 消费券 */
.unused-quan-warp,
.used-quan-warp,
.expired-quan-warp{
  width: 7.2rem;
  margin-top: .24rem;
  padding: .22rem .12rem .22rem;
  background-color: #fff;
  border-radius: .12rem;
}

.unused-quan-warp .quan-inner,
.used-quan-warp .quan-inner,
.expired-quan-warp .quan-inner{
  width: 6.96rem;
  height: 1.83rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #dcdcdc;
}

.unused-quan-warp .quan-inner .quan-box,
.used-quan-warp .quan-inner .quan-box,
.expired-quan-warp .quan-inner .quan-box{
  width: 6.96rem;
  height: 1.44rem;
  padding-left: 1.01rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 6.96rem 1.44rem;
  display: flex;
  align-items: center;
  position: relative;
}

/* a券 */

.unused-quan-warp .quan-inner .a-quan-box{
  background-image: url(../img/a_quan_bg.png);
}

.used-quan-warp .quan-inner .a-quan-box{
  background-image: url(../img/a_quan_used_bg.png);
}

.expired-quan-warp .quan-inner .a-quan-box{
  background-image: url(../img/a_quan_expired_bg.png);
}

/* b卷 */

.unused-quan-warp .quan-inner .b-quan-box{
  background-image: url(../img/b_quan_bg.png);
}

.used-quan-warp .quan-inner .b-quan-box{
  background-image: url(../img/b_quan_used_bg.png);
}

.expired-quan-warp .quan-inner .b-quan-box{
  background-image: url(../img/b_quan_expired_bg.png);
}

/* c券 */

.unused-quan-warp .quan-inner .c-quan-box{
  background-image: url(../img/c_quan_bg.png);
}

.used-quan-warp .quan-inner .c-quan-box{
  background-image: url(../img/c_quan_used_bg.png);
}

.expired-quan-warp .quan-inner .c-quan-box{
  background-image: url(../img/c_quan_expired_bg.png);
}

/* d券 */
.unused-quan-warp .quan-inner .d-quan-box{
  background-image: url(../img/d_quan_bg.png);
}

.used-quan-warp .quan-inner .d-quan-box{
  background-image: url(../img/d_quan_used_bg.png);
}

.expired-quan-warp .quan-inner .d-quan-box{
  background-image: url(../img/d_quan_expired_bg.png);
}

.unused-quan-warp .quan-inner .quan-box .date,
.used-quan-warp .quan-inner .quan-box .date,
.expired-quan-warp .quan-inner .quan-box .date{
  width: 5rem;
  font-size: .16rem;
  color: #fff;
  position: absolute;
  left: 3.26rem;
  bottom: .24rem;
  -webkit-transform-origin-x: 0;
  -webkit-transform: scale(0.7);
}

.hide{
  display: none !important;
}